function xianshang_leibie(v, a, leibie) {
	if(v["canyurenshu"] == "" || v["canyurenshu"] == undefined) {
		v["canyurenshu"] = 0;
	}
	if(v["fenleiid"] == leibie) {
		$("#kechengliebiao>article>ul").append("<li dataid=" + v["id"] + ">" + "<a href=/fenxiang/kechengxiangqing.html?dataid=" + v["id"] + ">" + "<img src=" + http + v["ico"] + ">" + "<h1>" + v["title"] + "</h1>" + "<div>" + "<p>" + v["jianjie"] + "</p>" + "</div>" + "<h2>￥" + "<span>" + v["jiage"] + "</span>" + "元</h2>" + "<h3>参与人数" + v["canyurenshu"] + "人</h3>" + "</a>" + "</li>");		
		if(v["status"] == "2") {
			$("#kechengliebiao>article>ul>li").eq(a).find('a').append("<h4>" + "限时免费" + "</h4>");
		} else {
		    $("#kechengliebiao>article>ul>li").eq(a).find('h2').hide();
			$("#kechengliebiao>article>ul>li").eq(a).find('a').append("<h4>￥" + v["jiage"] + "元</h4>");
		}
		return ++a;
	}
	return a;
}


function xianshang_quanbu(v, a) {
	if(v["canyurenshu"] == "" || v["canyurenshu"] == undefined) {
		v["canyurenshu"] = 0;
	}
	$("#kechengliebiao>article>ul").append("<li dataid=" + v["id"] + ">" + "<a href=/fenxiang/kechengxiangqing.html?dataid=" + v["id"] + ">" + "<img src=" + http + v["ico"] + ">" + "<h1>" + v["title"] + "</h1>" + "<div>" + "<p>" + v["jianjie"] + "</p>" + "</div>" + "<h2>￥" + "<span>" + v["jiage"] + "</span>" + "元</h2>" + "<h3>参与人数" + v["canyurenshu"] + "人</h3>" + "</a>" + "</li>");
	if(v["status"] == 2 && v["endtime"]>txs) {
		$("#kechengliebiao>article>ul>li").eq(a).find('a').append("<h4>" + "限时免费" + "</h4>");
	} else {
		$("#kechengliebiao>article>ul>li").eq(a).find('h2').hide();
		$("#kechengliebiao>article>ul>li").eq(a).find('a').append("<h4>￥" + v["jiage"] + "元</h4>");
	}
}